<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>发票页面</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
      margin: 0;
      padding: 20px;
    }

    .container {
      max-width: 500px;
      margin: 0 auto;
    }

    .header {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      height: 20px;
    }

    .back-icon {
      font-size: 24px;
      color: #333;
      text-decoration: none;
      margin-right: 10px;
    }

    .form-container {
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
    }

    .form-container h2 {
      margin-top: 0;
      font-size: 18px;
      color: #333;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }

    .form-group input, .form-group select {
      width: 100%;
      max-width: 460px; /* 限制输入框最大宽度，避免顶到最右边 */
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 14px;
      box-sizing: border-box; /* 确保padding和border不影响宽度 */
    }

    .form-group input::placeholder {
      color: #aaa;
    }

    .submit-btn {
      display: block;
      width: 100%;
      max-width: 460px; /* 限制按钮最大宽度，与输入框对齐 */
      padding: 12px;
      background: linear-gradient(to right, #00c9a7, #00d2b3);
      color: white;
      border: none;
      border-radius: 25px;
      font-size: 16px;
      cursor: pointer;
    }

    .submit-btn:hover {
      background: linear-gradient(to right, #00d2b3, #00c9a7);
    }

    .record-link {
      text-align: center;
      margin-top: 10px;
    }

    .record-link a {
      color: #00d2b3;
      text-decoration: none;
      font-size: 14px;
    }

    .back-btn {
      text-decoration: none;
      color: #000;
      font-size: 20px;
      position: absolute; /* 绝对定位，不影响标题居中 */
      left: 15px; /* 距离左侧的距离 */
    }
  </style>
</head>
<body>
<div class="container">
  <!-- 顶部返回图标 -->
  <div class="header">
    <a href="index.html" class="back-btn">&#60;</a>
    <!-- <span>返回</span> 如果需要文字，可以添加这个span -->
  </div>

  <!-- 典型发票表单 -->
  <div class="form-container">
    <h2>典型发票:</h2>
    <div class="form-group">
      <label for="phone1">手机号</label>
      <input type="text" id="phone1" placeholder="请填写手机号">
    </div>
    <button class="submit-btn">提交</button>
  </div>

  <!-- 人工开具表单 -->
  <div class="form-container">
    <h2>人工开具:</h2>
    <div class="form-group">
      <label for="project">项目</label>
      <select id="project">
        <option value="">请选择项目</option>
        <!-- 可以根据需要添加更多选项 -->
      </select>
    </div>
    <div class="form-group">
      <label for="amount">金额</label>
      <input type="text" id="amount" placeholder="请输入金额">
    </div>
    <div class="form-group">
      <label for="phone2">手机号</label>
      <input type="text" id="phone2" placeholder="请填写手机号">
    </div>
    <button class="submit-btn">提交</button>
  </div>

  <!-- 开票记录链接 -->
  <div class="record-link">
    <a href="#">开票记录</a>
  </div>
</div>
</body>
</html>